package com.puti.doctor.domian;

import com.puti.common.core.annotation.Excel;
import com.puti.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 商品-类型 商品-类型对象 goods_type
 * 
 * @author puti
 * @date 2021-04-22
 */
public class GoodsType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品分类ID */
    private Long goodsTypeId;

    /** 商品分类名称 */
    @Excel(name = "商品分类名称")
    private String goodsTypeName;

    /** 商品分类图片 */
    @Excel(name = "商品分类图片")
    private String goodsTypeImg;

    /** 商品库存 */
    @Excel(name = "商品库存")
    private Long goodsTypeCount;

    /** 商品类型状态 0:关闭
1:开启 */
    @Excel(name = "商品类型状态 0:关闭 1:开启")
    private Long goodsTypeStatus;

    public void setGoodsTypeId(Long goodsTypeId) 
    {
        this.goodsTypeId = goodsTypeId;
    }

    public Long getGoodsTypeId() 
    {
        return goodsTypeId;
    }
    public void setGoodsTypeName(String goodsTypeName) 
    {
        this.goodsTypeName = goodsTypeName;
    }

    public String getGoodsTypeName() 
    {
        return goodsTypeName;
    }
    public void setGoodsTypeImg(String goodsTypeImg) 
    {
        this.goodsTypeImg = goodsTypeImg;
    }

    public String getGoodsTypeImg() 
    {
        return goodsTypeImg;
    }
    public void setGoodsTypeCount(Long goodsTypeCount) 
    {
        this.goodsTypeCount = goodsTypeCount;
    }

    public Long getGoodsTypeCount() 
    {
        return goodsTypeCount;
    }
    public void setGoodsTypeStatus(Long goodsTypeStatus) 
    {
        this.goodsTypeStatus = goodsTypeStatus;
    }

    public Long getGoodsTypeStatus() 
    {
        return goodsTypeStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsTypeId", getGoodsTypeId())
            .append("goodsTypeName", getGoodsTypeName())
            .append("goodsTypeImg", getGoodsTypeImg())
            .append("goodsTypeCount", getGoodsTypeCount())
            .append("goodsTypeStatus", getGoodsTypeStatus())
            .toString();
    }
}
